﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Account
    {
        public string Username { get; set; }
        public string Password { get; set; }
        public string HoTen { get; set; }
        public string DiaChi { get; set; }
        public DateTime NgaySinh { get; set; }
        public string SoDienThoai { get; set; }
        public string Email { get; set; }

        public Account()
        {
            Username = "";
            Password = "";
            HoTen = "";
            DiaChi = "";
            NgaySinh = DateTime.Now;
            SoDienThoai = "";
            Email = "";
        }

        public Account(string username, string password, string hoTen, string diaChi, DateTime ngaySinh, string soDienThoai, string email)
        {
            Username = username;
            Password = password;
            HoTen = hoTen;
            DiaChi = diaChi;
            NgaySinh = ngaySinh;
            SoDienThoai = soDienThoai;
            Email = email;
        }
    }
}
